const theme0List:any = import.meta.glob("../assets/img/themes/theme0/*.*", { eager: true })
const theme1List:any = import.meta.glob("../assets/img/themes/theme1/*.*", { eager: true })
const theme2List:any = import.meta.glob("../assets/img/themes/theme2/*.*", { eager: true })


const imagesMap0:any = {}
for(const key in theme0List) {
    const arrKey = key.split('/')
    const name = arrKey[arrKey.length - 1].split(".")[0] as any
    imagesMap0[name] = theme0List[key].default
}

const imagesMap1:any = {}
for(const key in theme1List) {
    const arrKey = key.split('/')
    const name = arrKey[arrKey.length - 1].split(".")[0] as any
    imagesMap1[name] = theme1List[key].default
}

const imagesMap2:any = {}
for(const key in theme2List) {
    const arrKey = key.split('/')
    const name = arrKey[arrKey.length - 1].split(".")[0] as any
    imagesMap2[name] = theme2List[key].default
}
export { imagesMap0, imagesMap1, imagesMap2 }